#ifndef _MQTT_CLIENT_PUBLISH_H
#define _MQTT_CLIENT_PUBLISH_H

class MqttClientPublish
{
private:
    /* data */
public:
    explicit MqttClientPublish() = default;
    ~MqttClientPublish();
private:
    friend class MqttClientCore;

    /*
     * Callback called when the client receives a CONNACK message from the broker.
    */
    void on_connect(struct mosquitto *mosq, void *obj, int reason_code);
    void on_publish(struct mosquitto *mosq, void *obj, int mid);

    // void mqtt_client_subscribe(const char* topic);
    void mqtt_cleint_publish(const char* topic, const char* message);
};

#endif // mqtt_client_publish.h
